<div class="view">
 <div id="mutiCategory<?php echo $data->getAttributeLabel('news_id');?>" style="padding-left: 10px;">
    <div style="margin: 1px 1px 5px; padding: 1px; background-color: transparent;">
        <div style="margin-left:0; padding-left:0px;margin-top:0;margin-bottom:0;padding-right:5px;position:relative">
            <div style="margin-top:5px;margin-bottom:5px">
                <div style="float:left">
                    <?php
                        if($data->news_pic_path){
                            $link = "<img src='".Yii::app()->request->baseUrl.$data->news_pic_path."' style='border:0px;width:160px;'>";
                        }else{
                            $link = "<img src='".Yii::app()->request->baseUrl."/images/img05.gif' style='border:0px;width:160px;'>";
                        }
                        
                    ?>
                    <?php echo CHtml::link($link, array('view', 'id'=>$data->news_id)); ?>
                    
                </div>
                <div style="float:left;width:380px;padding-left:20px;">
                    <?php
                        $link =  "<h3 style='margin-top: 0px; padding-bottom: 2px;'>".$data->news_title."</h3>";
                    ?>
                    <?php echo CHtml::link($link, array('view', 'id'=>$data->news_id)); ?>
                    <div>
                        <?php echo $data->news_detail; ?>
                    </div>
                </div>
                <div style="clear:both"></div>
            </div>
        </div>
    </div>
    <hr style=" margin-left: 0px; margin-right: 0px; color:pink;">
    
    <?php
    /*
    $this->widget('ext.ckeditor.CKEditorWidget',array(
      "model"=>$data->news_id,                # Data-Model
      "attribute"=>'content'.$data->news_id,          # Attribute in the Data-Model
      "defaultValue"=>"$pages",     # Optional
     
      # Additional Parameter (Check http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html)
      "config" => array(
          "height"=>"400px",
          "width"=>"100%",
          "toolbar"=>"Full",
          ),
     
      #Optional address settings if you did not copy ckeditor on application root
      "ckEditor"=>Yii::app()->basePath."/../ckeditor/ckeditor.php",
                                      # Path to ckeditor.php
      "ckBasePath"=>Yii::app()->baseUrl."/ckeditor/",
                                      # Realtive Path to the Editor (from Web-Root)
      ) );
      */
      ?>
      
</div>
</div>